package com.wulinbus.dao.user;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wulinbus.model.UserCashLogModel;

public interface UserCashLogDAO {
	
	public UserCashLogModel getById(@Param("lid")Integer lid);

	public List<UserCashLogModel> getList(@Param("start")Integer start, @Param("count")Integer count);
	
	public Integer getListCount();

	public List<UserCashLogModel> getListByUid(@Param("uid")Integer uid,@Param("start")Integer start, @Param("count")Integer count);
	
	public Integer getListCountByUid(@Param("uid")Integer uid);
	
	public Integer insert(UserCashLogModel cashlog);

	public Integer updateState(@Param("lid")Integer lid,@Param("uid")Integer uid);

	public Integer delete(@Param("lid")Integer lid,@Param("uid")Integer uid);
}
